﻿using System.Web;
using System.Web.Optimization;

namespace ShuaDanMysql
{
    public class BundleConfig
    {
        // For more information on bundling, visit http://go.microsoft.com/fwlink/?LinkId=301862
        public static void RegisterBundles(BundleCollection bundles)
        {
            bundles.Add(new ScriptBundle("~/bundles/jquery").Include(
                        "~/Scripts/jquery-{version}.js"));

            bundles.Add(new ScriptBundle("~/Scripts/homeJs").Include(
                        "~/Scripts/jquery.min.js",
                        "~/Scripts/modernizr.custom.63321.js"));

            bundles.Add(new ScriptBundle("~/Scripts/mainJs").Include(
                       "~/Scripts/jquery.min.js",
                       "~/Scripts/MainFrame.js"));       

            bundles.Add(new StyleBundle("~/Content/css").Include(                 
                    "~/Content/demo.css",
                    "~/Content/font-awesome.css",
                    "~/Content/style.css"));

            bundles.Add(new StyleBundle("~/Content/homeCss").Include(
                    "~/Content/style.css"));

            bundles.Add(new ScriptBundle("~/Scripts/ContentJs").Include(
                   "~/Scripts/CommonSerialize.js",
                   "~/Scripts/JSON-js-master/json2.js"));

            bundles.Add(new ScriptBundle("~/bundles/js").Include(                      
                       "~/Scripts/modernizr.custom.63321.js",
                       "~/Scripts/CommonSerialize.js",
                       "~/Scripts/JSON-js-master/json2.js"));

            bundles.Add(new ScriptBundle("~/bundles/mainframe").Include(
                       "~/Scripts/MainFrame.js"));

            BundleTable.EnableOptimizations = true;
        }
    }
}
